package handler

import (
	"gitee.com/aviptle/goclean/go12jin/skills/mvc/controller"
	"gitee.com/aviptle/goclean/go12jin/skills/mvc/model"
	"github.com/gin-gonic/gin"
)

func CreateUser(c gin.Context) {
	// do something

	req := &model.User{}
	c.Bind(req)

	controller.CreateUser(req)

	c.JSON(0, req)
}
